#include "rule.h"
#include "ui_rule.h"
#include "beginning.h"

rule::rule(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::rule)
{
    ui->setupUi(this);
}

rule::~rule()
{
    delete ui;
}

void rule::on_pushButton_clicked()
{
    this->close();
    beginning *be=new beginning();
    be->show();
}

